<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://org.nature.framework/jsp/tag" prefix="n"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; UTF-8">
<title>view/user</title>
</head>
<body>
	
	<form action="${basePath}/user/${action}" method="post" >
	<n:token/>
	<input type="hidden" name="user.id" value="${user.id}"/>
		<table>
			<tr>
				<td>名字</td><td><input type="text" name="user.name" value="${user.name}"/><input type="text" name="user.name" value="${user.name}"/></td>
			</tr>
			<tr>
				<td>性别 </td>
				<td>
					<input type="radio" ${user.sex=='男'?'checked="checked" ':'' } name="user.sex" value="男"/>男
					<input type="radio" ${user.sex=='女'?'checked="checked" ':'' } name="user.sex" value="女"/>女
				</td>
			</tr>
			<tr>
				<td>年龄</td><td><input type="text" name="user.age" value="${user.age}"/></td>
			</tr>
		</table>
		<input type="submit" value="提交"/>
	</form>
</body>
</html>